package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryMapper {

    List<Category> selectByParentId(@Param("parentId") Long parentId);

    int countByParentId(@Param("id") Long id);

    List<Category> selectAll();

    void batchInsert(List cachedDataList);
}
